package com.ruoyi.merchant.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.merchant.mapper.ShopVerificationMapper;
import com.ruoyi.merchant.domain.ShopVerification;
import com.ruoyi.merchant.service.IShopVerificationService;

/**
 * 店铺认证管理Service业务层处理
 * 
 * @author fxy
 * @date 2024-09-12
 */
@Service
public class ShopVerificationServiceImpl implements IShopVerificationService 
{
    @Autowired
    private ShopVerificationMapper shopVerificationMapper;

    /**
     * 查询店铺认证管理
     * 
     * @param id 店铺认证管理主键
     * @return 店铺认证管理
     */
    @Override
    public ShopVerification selectShopVerificationById(Long id)
    {
        return shopVerificationMapper.selectShopVerificationById(id);
    }

    /**
     * 查询店铺认证管理列表
     * 
     * @param shopVerification 店铺认证管理
     * @return 店铺认证管理
     */
    @Override
    public List<ShopVerification> selectShopVerificationList(ShopVerification shopVerification)
    {
        return shopVerificationMapper.selectShopVerificationList(shopVerification);
    }

    /**
     * 新增店铺认证管理
     * 
     * @param shopVerification 店铺认证管理
     * @return 结果
     */
    @Override
    public int insertShopVerification(ShopVerification shopVerification)
    {
        return shopVerificationMapper.insertShopVerification(shopVerification);
    }

    /**
     * 修改店铺认证管理
     * 
     * @param shopVerification 店铺认证管理
     * @return 结果
     */
    @Override
    public int updateShopVerification(ShopVerification shopVerification)
    {
        return shopVerificationMapper.updateShopVerification(shopVerification);
    }

    /**
     * 批量删除店铺认证管理
     * 
     * @param ids 需要删除的店铺认证管理主键
     * @return 结果
     */
    @Override
    public int deleteShopVerificationByIds(Long[] ids)
    {
        return shopVerificationMapper.deleteShopVerificationByIds(ids);
    }

    /**
     * 删除店铺认证管理信息
     * 
     * @param id 店铺认证管理主键
     * @return 结果
     */
    @Override
    public int deleteShopVerificationById(Long id)
    {
        return shopVerificationMapper.deleteShopVerificationById(id);
    }
}
